import request from '@/utils/request'
import axios from 'axios'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

// 静态路由
export const getPublicRouters = () => {
  getRouters()
  return axios.get('/manage/data/router.json')
}

// 用户注册统计
export const userStatistics = () => {
  return request({
    url: '/registered/user/statistics',
    method: 'get'
  })
}
